<template>
  <view>
    <slot></slot>
  </view>
</template>

<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*全局样式*/
	page {
		height: 100%;
		background-color: #f5f5f5;
	}
	
	/* 确保H5端tabBar正常显示 */
	uni-page-body {
		padding-bottom: 50px; /* 为H5端底部导航栏留出空间 */
	}
	
	/* 修复H5端可能的样式冲突 */
	.uni-tabbar {
		position: fixed !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 999 !important;
	}
</style>
